﻿using System;
using System.ComponentModel.DataAnnotations;

namespace PARK.Consumer.Entitys.Dto.Wechat
{
    [Serializable]
    public class QrcodeInputDto
    {
        /// <summary>
        /// 用户Id 
        /// </summary>
        public string EmployeeId { get; set; }
        /// <summary>
        /// 工号
        /// </summary>
        public string JobNo { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string ReallName { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public string DepartId { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string DepartName { get; set; }
        /// <summary>
        /// 二维码对应卡号
        /// </summary>
        [Required(ErrorMessage = "卡号不正确")]
        public string CardNo { get; set; }
        /// <summary>
        /// 二维码内容
        /// </summary>
        public string QRcode { get; set; }
        /// <summary>
        /// 有效期截止时间点
        /// </summary>
        public DateTime ExpiryEndDate { get; set; }
        /// <summary>
        /// 排序码
        /// </summary>
        public long SortCode { get; set; } = 1L;
        public DateTime dbDate { get; set; }= DateTime.Now;
        public string Summary { get; set; }

    }
}
